package com.shanzmoo.platform.manage.api.domain.vo;

import com.shanzmoo.db.module.psys.domain.vo.MenuVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 用户信息
 *
 * @author： Gzhao 2021/1/16
 */
@Data
@ApiModel("登录用户")
@Accessors(chain = true)
public class AuthUserVo implements Serializable {

    private static final long serialVersionUID = 1758L;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("登录token")
    private String token;

    @ApiModelProperty("菜单")
    private List<MenuVO> menu;

}
